package cn.edu.scau.cmi.ema.service;

import java.util.List;
import java.util.Set;
import java.io.IOException;
import com.alibaba.fastjson.JSONObject;
import java.util.Map;
import org.springframework.web.bind.annotation.RequestParam;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;


public interface CrawlerknowledgeService {

	public Crawlerknowledge saveCrawlerknowledge(Crawlerknowledge crawlerknowledge);

	public Set<Crawlerknowledge> loadCrawlerknowledges();

	public Set<Crawlerknowledge> loadReferenceCrawlerknowledges(Set<Crawlerknowledge> crawlerknowledges);

	public Set<Crawlerknowledge> loadCrawlerknowledgesByIdSet(Set<Integer> crawlerknowledgesId);

	public Map<String, ?> loadCrawlerknowledgeObjectReferencedSet(Crawlerknowledge crawlerknowledge);

	public Map<String, ?> loadCrawlerknowledgeClassReferencedSet(Crawlerknowledge crawlerknowledge);

	public void deleteCrawlerknowledge(Crawlerknowledge crawlerknowledge);

	public void deleteCrawlerknowledges(Set<Integer> deleteCrawlerknowledgesId);

	public List<Crawlerknowledge> findAllCrawlerknowledges(Integer startResult, Integer maxRows);

	public Crawlerknowledge findCrawlerknowledgeByPrimaryKey(Integer id);

	public Integer countCrawlerknowledges();

	public Integer countCrawlerknowledges(CmiPagination page);

	public Integer countCrawlerknowledgesByName(String queryName);

	public Integer countCrawlerknowledgesByDetachedCriteria(CmiPagination page);

}
